package cn.sylinx.hbatis.ext.proxy.invoker;

import java.util.Map;

/**
 * 返回单个对象抽象
 * 
 * @author han
 *
 */
public abstract class AbstractQueryOneCommandInvoker extends AbstractCommandInvoker {

	protected Class<?> returnType;

	public AbstractQueryOneCommandInvoker(String truelyDatasource, String sql, Map<String, Object> params,
			Class<?> returnType) {
		super(truelyDatasource, sql, params);
		this.returnType = returnType;
	}

	public Class<?> getReturnType() {
		return returnType;
	}

	public void setReturnType(Class<?> returnType) {
		this.returnType = returnType;
	}

}
